From 682d29d954ed1e35bdc37833ccbddac5ec5a14d5 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 26 Mar 2010 08:43:36 +0000 Subject: [PATCH] xl: field 'type' not set in dm_info This fixes a bug that makes xl start qemu without the FV/PV specific options. From: Jean-Edouard LEJOSNE Signed-off-by: Keir Fraser Acked-by: Vincent Hanquez --- tools/libxl/xl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c index 2e23da3307..8518e8fd0e 100644 --- a/tools/libxl/xl.c +++ b/tools/libxl/xl.c @@ -661,6 +661,8 @@ skip_pci: dm_info->usbdevice = strdup(buf); } + dm_info->type = c_info->hvm ? XENFV : XENPV; + xlu_cfg_destroy(config); } -- 2.30.2